package com.github.config;

import com.github.pojo.User;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

/**
 * @author fatfish
 * @version 1.0
 * @date 2025/8/14 16:07
 */
@Configuration
@ComponentScan("com.github.pojo")
@Import(AnotherConfig.class)
public class MyConfig {

    @Bean
    public User getUser(){
        return new User();
    }

}
